package com.zhaodao.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiongshiyan at 2018/10/10 , contact me with email yanshixiong@126.com or phone 15208384257
 */
@Controller
@RequestMapping("/test")
public class TestController {

    @RequestMapping("token1-another")
    public String token1_another(){
        return "testwebsocket-8080-token1-another";
    }

    @RequestMapping("token2-another")
    public String token2_another(){
        return "testwebsocket-8080-token2-another";
    }
}
